export interface IMessageItemProps {
    text: string;
    showRight?: boolean;
}

export const messageItemProps = {
    text: {
        type: String,
        default: ''
    },
    iconSize: {
        type: Number,
        default: 20
    },
    showRight: {
        type: Boolean,
        default: true
    },
    data: {
        type: String,
        default: ''
    },
    id: {
        type: [String, Number],
        default: ''
    }
}

export const messageProps = {
    showRight: messageItemProps['showRight'],
    data: {
        type: Array as () => IMessageItemProps[],
        default: () => []
    },
}

